package com.edu.mapper;


import com.edu.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    User selectById(int id);
    List<User> selectAll();
    void addUser(@Param("userName") String userName,@Param("userPass") String userPass,@Param("realName") String realName, @Param("stuId") int stuId);
    void deleteById(int dId);
    void update(@Param("userName")String userName,@Param("userPass")String userPass,@Param("realName") String realName,@Param("userId") int userId);
}
